<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8"/>
		<link href="template/css/Site_accueil.css" type="text/css" rel="stylesheet"/>
		<title></title>
		<script type="text/javascript" src="template/js/jquery.js"></script>
		<script type="text/javascript" src="template/js/function.js"></script>
	</head>
	<body>
		<?php
			include("header.html");
		?>
		<section>
			<form action="search2.php" method="POST">
				<input type="hidden" name="token" value="Ag554t4hfgrthHGg5TRHYT54g4g5rthGTRJ" />
				Pays : <select name="pays" id="pays">
							<option value="France">France</option>
							<option value="Allemagne">Allemagne</option>
							<option value="Espagne">Espagne</option>
					   </select><br/><br/>
				Ville : <select name="ville" id="ville">
							<option value="Paris">Paris</option>
							<option value="Berlin">Berlin</option>
							<option value="Madrid">Madrid</option>
						</select><br/><br/>
				Type de bien : <select name="type" id="type">
				<?php
					while($type = $result_type->fetch_object()) {
				?>
					<option value="<?php echo $type->id; ?>"><?php echo $type->libelle ?></option>
				<?php
					}
				?>
				</select><br/><br/>
				Surface (minimum en m²) : <input type="text" name="surface" id="surface" /><br/><br/>
				Tarif (minimum) : <input type="text" name="tarif" id="tarif" /><br/><br/>
				<input type="submit" value="Chercher" />
			</form>
		</section><br/>
		<?php
			include('footer.html');
		?>
	</body>
</html>